<%@page import="com.buss.core.dic.MenuType"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="../includes/tag.jsp" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<form action="<%=basePath%>admin/goodscategory/updatecategorybrand/${categoryId}.do" method="post">
	<table style="margin-left:10px;">
		<tr>
			<td>待选择列表:</td>
			<td></td>
			<td>已选择列表:</td>
		</tr>
		<tr>
			<td>				
				<span style="margin-bottom: 5px;display: block;">
					名称：<input id="query_unselbrand" type="text" class="text" size="20"/>
				</span>
				<select id="brand_list" multiple="multiple" style="height: 255px;width:200px;">			
					<c:forEach items="${unSelBrands}" var="brand">
						<option value='${brand.id}'>${brand.name}</option>				
					</c:forEach>
				</select>
			</td>
			<td align="center" valign="middle">
				<a id="addBrand" href="javascript:void(0);"><span style="font-size: 18px;">»</span></a><br/><br/><br/>
				<a id="removeBrand" href="javascript:void(0);"><span style="font-size: 18px;">«</span></a>
			</td>
			<td>
				<span style="margin-bottom: 5px;display: block;">
					名称：<input id="query_selbrand" type="text" class="text" size="20"/>
				</span>
				<select id="sel_brand_list" name="brandIds" multiple="multiple" style="height: 255px;width:200px;">
					<c:forEach items="${selBrands}" var="brand">
						<option value='${brand.id}'>${brand.name}</option>				
					</c:forEach>
				</select>
			</td>
		</tr>
	</table>
</form>